package com.bird.设计模式.行为型.责任链模式.流程审批功能;

/**
 * @data 2022/10/3 11:40
 * @author: bird
 * @description: 课程类：就是要发布的内容
 * 每个课程包含：课程名称，课程的手记，课程的视频。
 */
public class Course {

    /**
     * 课程名称
     */
    private String name;
    /**
     * 课程的手记
     */
    private String article;
    /**
     * 课程的视频
     */
    private String video;

    public Course() {
    }

    public Course(String name, String article, String video) {
        this.name = name;
        this.article = article;
        this.video = video;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getArticle() {
        return article;
    }

    public void setArticle(String article) {
        this.article = article;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    @Override
    public String toString() {
        return "Course{" +
                "name='" + name + '\'' +
                ", article='" + article + '\'' +
                ", video='" + video + '\'' +
                '}';
    }
}
